﻿using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;

namespace FukiERP.Common.Helper {
    public class CommonHelper {

        public static int GetNumber(string text) { 
            int number;
            int.TryParse(text, NumberStyles.Number,
                CultureInfo.GetCultureInfo(CultureInfo.CurrentCulture.LCID), out number);
            return number;
        }
    }
}
